﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WFP_Sandbox.ViewModel
{
    public class Player : ObservableObject
    {
        private string mSport;
        private string mName;
        private string mTeeNumber;

        public string Sport
        {
            get { return mSport; }
            set
            {
                mSport = value;
                RaisePropertyChangedEvent("Sport");
            }
        }

        public string Name
        {
            get { return mName; }
            set
            {
                mName = value;
                RaisePropertyChangedEvent("Name");
            }
        }

        public string TeeNumber
        {
            get { return mTeeNumber; }
            set
            {
                mTeeNumber = value;
                RaisePropertyChangedEvent("TeeNumber");
            }
        }



        public Player(string pSport, string pName, string pTeeNumber)
        {
            Sport = pSport;
            Name = pName;
            TeeNumber = pTeeNumber;
        }

        public Player()
        {
            // TODO: Complete member initialization
        }

        }
}
